﻿
# bootnut live system, chrootnut

mkdir /mnt/target
mount /dev/sda7 /mnt/target/
for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt/target$i"; done
chroot /mnt
chroot /mnt/target/


grub-install /dev/sda
update-grub


exit
reboot
